import { EntityModel } from '@midwayjs/orm';
import { BaseEntity } from '@cool-midway/core';
import { Column } from 'typeorm';

/**
 * 电影分类
 */
@EntityModel('movie_category')
export class MovieCategoryEntity extends BaseEntity {
  @Column({ comment: '分类名称' })
  name: string;
  @Column({ comment: '分类图标' })
  icon: string;
}
